package com.glink.manage.ws;

import javax.websocket.Session;
import java.util.List;

/**
 * @author qiushaoshan
 */
public interface WarnWebSocketService {
    void onOpen(Session session);

    void onClose();

    void sendMessage(String content, List<String> userIdList);

    String getUserId();

    Session getSession();

    List<String> getAllUserIds();
}
